package com.xiaohe.gulimall.product.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.xiaohe.gulimall.product.entity.SkuImagesEntity;
import com.xiaohe.gulimall.product.entity.SkuInfoEntity;
import com.xiaohe.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * 商品详情，返回信息抽取
 */
@Data
@ToString
public class SkuItemVo {
    //1、sku基本信息 pms_sku_info
    SkuInfoEntity info;
    //2、sku图片信息  pms_sku_images
    List<SkuImagesEntity> images;
    //3、获取spu的销售属性
    List<SkuItemSaleAttrVo> saleAttr;
    //4、获取spu的介绍
    SpuInfoDescEntity descEntity;
    //5、获取spu的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;

    SeckillInfoVo seckillInfoVo;//当前商品的秒杀优惠信息

    boolean hasStock = true;


}
